flowchart LR
A["User Query"] --> B["Query<br/>Processing"]
B --> C["Hybrid<br/>Retrieval"]
C --> D{"Top 50<br/>Candidates"}
D --> E["Re-Ranking<br/>(Cross-Encoder)"]
E --> F{"Top 5<br/>Relevant"}
F --> G["LLM<br/>Generation"]
style A fill:#9B8EC0,stroke:#1C355E,color:#fff
style B fill:#9B8EC0,stroke:#1C355E,color:#fff
style C fill:#00C9A7,stroke:#1C355E,color:#fff
style D fill:#00C9A7,stroke:#1C355E,color:#fff
style E fill:#FF7A5C,stroke:#1C355E,color:#fff
style F fill:#FF7A5C,stroke:#1C355E,color:#fff
style G fill:#1C355E,stroke:#1C355E,color:#fff